<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>QQ音乐</title>
    <style>
        :root {
            --primary-color: #31c27c;
        }
        body {
            margin: 0;
            background: #f5f5f5;
            font-family: Microsoft Yahei;
            font-size: 14px;
            min-width: 1000px;
        }
        a {
            text-decoration: none;
            color: #000;
        }
        header {
            height: 90px;
            background: white;
            display: flex;
            align-items: center;
        }
        .header-inner, main {
            width: 1200px;
            margin: auto;
        }
.tag-list {
    margin-top: 50px;
    margin-bottom: 25px;
    display: flex;
    justify-content: flex-start; /* 靠左对齐 */
    align-items: center;
    gap: 15px; 
    flex-wrap: wrap;
}

        .tag-item {
            display: inline-block;
            padding: 0 8px;
            margin-right: 24px;
            line-height: 26px;
            color: #000;
            text-decoration: none;
        }
        .tag-active {
            background: var(--primary-color);
            color: white;
        }
        .tag-item:not(.tag-active):hover {
            color: var(--primary-color);
        }
        .nowrap {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .playlist {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 45px 15px;
            margin-bottom: 45px;
        }
        .cover-wrap {
            display: flex;
            position: relative;
            overflow: hidden;
            width: 100%;
            margin-bottom: 15px;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }
        .cover-img {
            width: 100%;
            transition: all 0.75s;
        }
        .cover-mask {
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            background: #000;
            opacity: 0;
            transition: all 0.5s;
        }
        .cover-play {
            position: absolute;
            left: 50%;
            top: 50%;
            margin-left: -35px;
            margin-top: -35px;
            opacity: 0;
            transform: scale(0.7);
            transition: all 0.5s;
        }
        .cover-wrap:hover .cover-mask {
            opacity: 0.2;
        }
        .cover-wrap:hover .cover-play {
            opacity: 1;
            transform: scale(1);
        }
        .cover-wrap:hover .cover-img {
            transform: scale(1.07);
        }
        .album-title:hover {
            color: var(--primary-color);
        }
        .album-author {
            color: #999;
            line-height: 1.6;
        }
        .album-author:hover {
            color: var(--primary-color);
        }
        .album-time {
            color: #999;
        }
        .page {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .page-item {
            display: inline-block;
            color: #a2a2a2;
            line-height: 50px;
            padding: 0 20px;
            margin: 10px;
            font-size: 16px;
        }
        .page-current, .page-item:not(.page-more):hover {
            background: var(--primary-color);
            color: white;
        }
        footer {
            margin-top: 60px;
            background: #333;
            height: 200px;
        }
        
        /* 新增样式 */
        .section-title {
            font-size: 22px;
            font-weight: normal;
            margin-bottom: 20px;
            display: flex;
            justify-content: center; 
            gap: 15px; 
            flex-wrap: wrap;
        }
        .song-section {
            margin-bottom: 40px;
        }
        .song-list {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }
        .song-item {
            display: flex;
            align-items: center;
            padding: 8px 0;
        }
        .song-name {
            flex: 1;
        }
        .song-singer {
            color: #999;
            width: 120px;
        }
        .song-duration {
            color: #999;
            width: 60px;
            text-align: right;
        }

        .divider {
            height: 1px;
            background: #e0e0e0;
            margin: 30px 0;
        }

        /* 新歌首发部分样式 - 添加悬停效果 */
        .songlist {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }
        .song-item {
            width: 340px;
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
.song-cover {
    position: relative;
    width: 60px;
    height: 60px;
    margin-right: 10px;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
}
.song-cover img {
    width: 100%;
    height: 100%;
    transition: all 0.75s;
}
.song-mask {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: 0;
    transition: all 0.5s;
}
.song-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.7); /* 居中 + 缩放 */
    opacity: 0;
    transition: all 0.5s;
    width: 30px;
    height: 30px;
}
.song-cover:hover .song-mask {
    opacity: 0.2;
}
.song-cover:hover .song-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1); /* 悬停放大同时居中 */
}
.song-cover:hover img {
    transform: scale(1.07);
}

        .song-info {
            flex: 1;
        }
        .song-info p {
            margin: 3px 0;
            font-size: 14px;
        }
        .song-info span {
            color: #888;
            font-size: 12px;
        }
        .song-time {
            color: #999;
            font-size: 12px;
            width: 45px;
            text-align: right;
        }

        /* 修改MV列表布局 */
        .mv-list {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 20px;
            justify-content: center;
        }
        .mv-item {
            width: 100%;
            margin-bottom: 25px;
        }
        .mv-cover {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
}
.mv-cover img {
    width: 100%;
    border-radius: 5px;
    transition: all 0.75s;
}
.mv-mask {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: 0;
    transition: all 0.5s;
}
.mv-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.7); /* 居中 + 缩放 */
    opacity: 0;
    transition: all 0.5s;
    width: 60%;    /* 调大尺寸 */
    height: 110%;   /* 调大尺寸 */
    border-radius: 50%; /* 可选，做圆形 */
}
.mv-cover:hover .mv-mask {
    opacity: 0.2;
}
.mv-cover:hover .mv-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1); /* 悬停放大 */
}
.mv-cover:hover img {
    transform: scale(1.07);
}

        .mv-info p {
            margin: 5px 0 0;
            font-size: 14px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .mv-info span {
            font-size: 12px;
            color: #888;
        }

        .hand-cursor {
            cursor: pointer;
        }

        .play-all-btn {
  display: inline-flex;             /* 让图标与文字水平居中排列 */
  align-items: center;              /* 垂直居中 */
  padding: 6px 14px;                /* 内边距 */
  border: 1px solid #ccc;           /* 灰色边框 */
  border-radius: 3px;               /* 圆角 */
  background-color: #fff;           /* 白色背景 */
  color: #333;                      /* 文字颜色 */
  font-size: 14px;                  /* 字体大小 */
  cursor: pointer;                  /* 鼠标悬停变为手型 */
  transition: all 0.2s ease;        /* 动画过渡 */
}

.play-all-btn:hover {
  border-color: #31c27c;            /* 悬停时边框变为绿色 */
  color: #31c27c;                   /* 文字变绿 */
}

.play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;     /* 画出一个向右的三角形 */
  border-color: transparent transparent transparent currentColor;
  margin-right: 6px;                /* 图标与文字间距 */
}
.play-all-btn {
    margin-right:250px;
}

.kongge{
  margin-right: 300px;
}
.kongge2{
  margin-right: 350px;
}

.mv-listen {
    font-size: 12px;
    color: #888;
    display: inline-flex;
    align-items: center; /* 垂直居中对齐 */
    gap: 3px; /* 图标和数字间距 */
}
.mv-listen img {
    width: 12px;  /* 图标大小可调 */
    height: 12px;
}

    </style>
</head>
<body>
    <!-- 头部 -->
    <header>
        <div class="header-inner">
            <img src="demo/imgs/qqmusic.png">
        </div>
    </header>
    
    <main>
        <!-- 歌单推荐 -->
        <section class="song-section">
            <h2 class="section-title">歌单推荐</h2>
            
            <!-- 歌曲专辑标签 -->
            <div class="tag-list">
              <a href="#" class="kongge"></a>
                <a href="#" class="tag-item tag-active">为你推荐</a>
                <a href="#" class="tag-item">运动</a>
                <a href="#" class="tag-item">网络歌曲</a>
                <a href="#" class="tag-item">思念</a>
                <a href="#" class="tag-item">官方歌单</a>
                <a href="#" class="tag-item">情歌</a>
            </div>
            
            <!-- 歌单列表 -->
            <div class="playlist">
                <!-- 歌单1 -->
                <div class="playlist-item">
                    <div class="cover-wrap">
                        <img class="cover-img" src="http://qpic.y.qq.com/music_cover/8HhavvWNIicpyjlv0UnT5TWLRxhfmGTVwYtiaWd54wZItUPRu7486Fqw/300?n=1" alt="翻唱女神J.Fla">
                        <div class="cover-mask"></div>
                        <img src="demo/imgs/cover_play.png" class="cover-play">
                    </div>
                    <div class="album-title nowrap ">翻唱女神J.Fla | 只唱你最爱的旋律</div>
                    <div class="album-author nowrap">播放量：891.4万</div>
                </div>
                
                <!-- 歌单2 -->
                <div class="playlist-item">
                    <div class="cover-wrap">
                        <img class="cover-img" src="http://qpic.y.qq.com/music_cover/GUalk7A0sBGvkxmUrXIf7KnEVGJFicuoT7xSkZLHiaEMB5Ojbccf6cbA/300?n=1" alt="古风女声控">
                        <div class="cover-mask"></div>
                        <img src="demo/imgs/cover_play.png" class="cover-play">
                    </div>
                    <div class="album-title nowrap">古风女声控，优美旋律为你而来</div>
                    <div class="album-author nowrap">播放量：171.2万</div>
                </div>
                
                <!-- 歌单3 -->
                <div class="playlist-item">
                    <div class="cover-wrap">
                        <img class="cover-img" src="http://qpic.y.qq.com/music_cover/QrmdXDG3R4jGSEzqu0qtR4vw6Glga0N83eKicVCib61BZw5lZtWEUMibQ/300?n=1" alt="早餐店">
                        <div class="cover-mask"></div>
                        <img src="demo/imgs/cover_play.png" class="cover-play">
                    </div>
                    <div class="album-title nowrap">想开一家早餐店，叫"早点见面"</div>
                    <div class="album-author nowrap">播放量：52.5万</div>
                </div>
                
                <!-- 歌单4 -->
                <div class="playlist-item">
                    <div class="cover-wrap">
                        <img class="cover-img" src="http://qpic.y.qq.com/music_cover/R8unPZMA4Vp5v2Ms96bst9nFCfe4YPBFBADicMz2LB0kLfEiaUM4ymiag/300?n=1" alt="英文歌">
                        <div class="cover-mask"></div>
                        <img src="demo/imgs/cover_play.png" class="cover-play">
                    </div>
                    <div class="album-title nowrap">好评999+英文歌！轻松解压100%</div>
                    <div class="album-author nowrap">播放量：12391.0万</div>
                </div>
                
                <!-- 歌单5 -->
                <div class="playlist-item">
                    <div class="cover-wrap">
                        <img class="cover-img" src="http://qpic.y.qq.com/music_cover/IknB7UUG0ME0zalRpPKYjJiauia2kJzKs5gtKQY4Vq9TJYLXdjQK9fCA/300?n=1" alt="书房背景乐">
                        <div class="cover-mask"></div>
                        <img src="demo/imgs/cover_play.png" class="cover-play">
                    </div>
                    <div class="album-title nowrap">书房背景乐 沉浸于字里行间的时光</div>
                    <div class="album-author nowrap">播放量：303.3万</div>
                </div>
            </div>
        </section>
        
        <div class="divider"></div>
        
        <!-- 新歌首发 -->
        <section class="song-section">
            <h2 class="section-title">新歌首发</h2>
            
            <!-- 新歌标签 -->
            <div class="tag-list">
                                           <button class="play-all-btn">
      <span class="play-icon"></span>播放全部</button>
                <a href="#" class="tag-item tag-active">最新</a>
                <a href="#" class="tag-item">内地</a>
                <a href="#" class="tag-item">港台</a>
                <a href="#" class="tag-item">欧美</a>
                <a href="#" class="tag-item">韩国</a>
                <a href="#" class="tag-item">日本</a>
            </div>
            
            <div class="section">
                <div class="songlist">
                    <div class="song-item">
                        <div class="song-cover">
                            <img src="https://y.gtimg.cn/music/photo_new/T002R90x90M000002myPA84G7kxG_1.jpg">
                            <div class="song-mask"></div>
                            <img src="demo/imgs/cover_play.png" class="song-play">
                        </div>
                        <div class="song-info">
                            <p><div class="hand-cursor">Sabotage</div></p>
                            <span>Bebe Rexha</span>
                        </div>
                        <div class="song-time">02:56</div>
                    </div>

                    <div class="song-item">
                        <div class="song-cover">
                            <img src="https://y.gtimg.cn/music/photo_new/T002R90x90M000003UIhdS4fBLqU_1.jpg">
                            <div class="song-mask"></div>
                            <img src="demo/imgs/cover_play.png" class="song-play">
                        </div>
                        <div class="song-info">
                            <p>如果人人爱音乐</p>
                            <span>张蔷</span>
                        </div>
                        <div class="song-time">03:46</div>
                    </div>

                    <div class="song-item">
                        <div class="song-cover">
                            <img src="https://y.gtimg.cn/music/photo_new/T002R90x90M000002v6ztM40D0iP_1.jpg">
                            <div class="song-mask"></div>
                            <img src="demo/imgs/cover_play.png" class="song-play">
                        </div>
                        <div class="song-info">
                            <p>你就不要想起我</p>
                            <span>R1SE赵磊</span>
                        </div>
                        <div class="song-time">04:30</div>
                    </div>

                    <div class="song-item">
                        <div class="song-cover">
                            <img src="https://y.gtimg.cn/music/photo_new/T002R90x90M0000005wEOc07Udwu_1.jpg">
                            <div class="song-mask"></div>
                            <img src="demo/imgs/cover_play.png" class="song-play">
                        </div>
                        <div class="song-info">
                            <p>软肋</p>
                            <span>李宇春</span>
                        </div>
                        <div class="song-time">04:17</div>
                    </div>

                    <div class="song-item">
                        <div class="song-cover">
                            <img src="https://y.gtimg.cn/music/photo_new/T002R90x90M000003vGVIq243Mzm_2.jpg">
                            <div class="song-mask"></div>
                            <img src="demo/imgs/cover_play.png" class="song-play">
                        </div>
                        <div class="song-info">
                            <p>一爱如故《长歌行》电视剧插曲</p>
                            <span>摩登兄弟刘宇宁</span>
                        </div>
                        <div class="song-time">03:55</div>
                    </div>

                    <div class="song-item">
                        <div class="song-cover">
                            <img src="https://y.gtimg.cn/music/photo_new/T002R90x90M000000hNAwr4dbutH_1.jpg">
                            <div class="song-mask"></div>
                            <img src="demo/imgs/cover_play.png" class="song-play">
                        </div>
                        <div class="song-info">
                            <p>向宿命挥拳的人《新斗罗大陆》手游戴沐白角色曲</p>
                            <span>阿云嘎</span>
                        </div>
                        <div class="song-time">04:00</div>
                    </div>

                    <div class="song-item">
                        <div class="song-cover">
                            <img src="https://y.gtimg.cn/music/photo_new/T002R90x90M000000dcpok0A8RP3_2.jpg">
                            <div class="song-mask"></div>
                            <img src="demo/imgs/cover_play.png" class="song-play">
                        </div>
                        <div class="song-info">
                            <p>花好月圆</p>
                            <span>周迅</span>
                        </div>
                        <div class="song-time">02:34</div>
                    </div>

                    <div class="song-item">
                        <div class="song-cover">
                            <img src="https://y.gtimg.cn/music/photo_new/T002R90x90M000004X1Kbg34UHQ5_1.jpg">
                            <div class="song-mask"></div>
                            <img src="demo/imgs/cover_play.png" class="song-play">
                        </div>
                        <div class="song-info">
                            <p>Renegades《浪客剑心 最终章》电影主题曲</p>
                            <span>阿云嘎</span>
                        </div>
                        <div class="song-time">04:04</div>
                    </div>

                    <div class="song-item">
                        <div class="song-cover">
                            <img src="https://y.gtimg.cn/music/photo_new/T002R90x90M0000018mpfj0lSvS0_1.jpg">
                            <div class="song-mask"></div>
                            <img src="demo/imgs/cover_play.png" class="song-play">
                        </div>
                        <div class="song-info">
                            <p>驯化者</p>
                            <span>陈俊豪/陈誉庚/TGM-姜京佐/刘冠佑/罗一舟/唐九洲/G.G张思源</span>
                        </div>
                        <div class="song-time">03:28</div>
                    </div>
                </div>
            </div>
        </section>
        
        <div class="divider"></div>
        
        <!-- MV -->
        <section class="song-section">
            <h2 class="section-title">MV</h2>
            
            <!-- MV标签 -->
            <div class="tag-list">
              <a href="#" class="kongge2"></a>
                <a href="#" class="tag-item tag-active">精选</a>
                <a href="#" class="tag-item">内地</a>
                <a href="#" class="tag-item">韩国</a>
                <a href="#" class="tag-item">港台</a>
                <a href="#" class="tag-item">欧美</a>
                <a href="#" class="tag-item">日本</a>
            </div>
            
            <div class="section">
                <div class="mv-list">
                    <div class="mv-item">
                        <div class="mv-cover">
                            <img src="https://y.gtimg.cn/music/photo_new/T015R640x360M102000SY7kU0vIuoT.jpg">
                            <div class="mv-mask"></div>
                            <img src="demo/imgs/cover_play.png" class="mv-play">
                        </div>
                        <div class="mv-info">
                            <p>向宿命挥拳的人 (《新斗罗大陆》...</p>
                            <span>阿云嘎</span><br>
                            <span><img src="demo/imgs/icon_listen.png" alt="播放量"> 8002</span>
                        </div>
                    </div>
                    <div class="mv-item">
                        <div class="mv-cover">
                            <img src="https://y.gtimg.cn/music/photo_new/T015R640x360M000003vHDbe24Jqpl.jpg">
                            <div class="mv-mask"></div>
                            <img src="demo/imgs/cover_play.png" class="mv-play">
                        </div>
                        <div class="mv-info">
                            <p>雨</p>
                            <span>Sunnee杨芸晴</span><br>
                            <span><img src="demo/imgs/icon_listen.png" alt="播放量"> 3334</span>
                        </div>
                    </div>
                    <div class="mv-item">
                        <div class="mv-cover">
                            <img src="https://y.gtimg.cn/music/photo_new/T015R640x360M1010047OlaH3P3f0J.jpg">
                            <div class="mv-mask"></div>
                            <img src="demo/imgs/cover_play.png" class="mv-play">
                        </div>
                        <div class="mv-info">
                            <p>一爱如故 (《长歌行》电视剧插曲)</p>
                            <span>摩登兄弟刘宇宁</span><br>
                            <span><img src="demo/imgs/icon_listen.png" alt="播放量"> 4.2万</span>
                        </div>
                    </div>
                    <div class="mv-item">
                        <div class="mv-cover">
                            <img src="https://y.gtimg.cn/music/photo_new/T015R640x360M101002cYg662xvSlL.jpg">
                            <div class="mv-mask"></div>
                            <img src="demo/imgs/cover_play.png" class="mv-play">
                        </div>
                        <div class="mv-info">
                            <p>我很好骗</p>
                            <span>动力火车</span><br>
                            <span><img src="demo/imgs/icon_listen.png" alt="播放量"> 1.1万</span>
                        </div>
                    </div>
                    <div class="mv-item">
                        <div class="mv-cover">
                            <img src="https://y.gtimg.cn/music/photo_new/T015R640x360M101001YVtJL2sr2Z7.jpg">
                            <div class="mv-mask"></div>
                            <img src="demo/imgs/cover_play.png" class="mv-play">
                        </div>
                        <div class="mv-info">
                            <p>造梦时学会飞行 (《声梦传奇》主...</p>
                            <span>TVB</span><br>
                            <span><img src="demo/imgs/icon_listen.png" alt="播放量"> 1483</span>
                        </div>
                    </div>
                    <div class="mv-item">
                        <div class="mv-cover">
                            <img src="https://y.gtimg.cn/music/photo_new/T015R640x360M101003RlAau1dFne3.jpg">
                            <div class="mv-mask"></div>
                            <img src="demo/imgs/cover_play.png" class="mv-play">
                        </div>
                        <div class="mv-info">
                            <p>What's Wrong With Me (Punk V...</p>
                            <span>Lil Ghost小鬼</span><br>
                            <span><img src="demo/imgs/icon_listen.png" alt="播放量"> 20.2万</span>
                        </div>
                    </div>
                    <div class="mv-item">
                        <div class="mv-cover">
                            <img src="https://y.gtimg.cn/music/photo_new/T015R640x360M102003c3tSe1ehWwN.jpg">
                            <div class="mv-mask"></div>
                            <img src="demo/imgs/cover_play.png" class="mv-play">
                        </div>
                        <div class="mv-info">
                            <p>Let's Party (《和平精英》2周年庆...</p>
                            <span>吴宣仪</span><br>
                            <span><img src="demo/imgs/icon_listen.png" alt="播放量"> 6.6万</span>
                        </div>
                    </div>
                    <div class="mv-item">
                        <div class="mv-cover">
                            <img src="https://y.gtimg.cn/music/photo_new/T015R640x360M0000013X2t31kvJC4.jpg">
                            <div class="mv-mask"></div>
                            <img src="demo/imgs/cover_play.png" class="mv-play">
                        </div>
                        <div class="mv-info">
                            <p>鋼の羽根</p>
                            <span>RADWIMPS</span><br>
                            <span><img src="demo/imgs/icon_listen.png" alt="播放量"> 2861</span>
                        </div>
                    </div>
                    <div class="mv-item">
                        <div class="mv-cover">
                            <img src="https://y.gtimg.cn/music/photo_new/T015R640x360M101003aYDEH2kWTX7.jpg">
                            <div class="mv-mask"></div>
                            <img src="demo/imgs/cover_play.png" class="mv-play">
                        </div>
                        <div class="mv-info">
                            <p>에필로그 (epilogue)</p>
                            <span>IU</span><br>
                            <span><img src="demo/imgs/icon_listen.png" alt="播放量"> 7955</span>
                        </div>
                    </div>
                    <div class="mv-item">
                        <div class="mv-cover">
                            <img src="https://y.gtimg.cn/music/photo_new/T015R640x360M101000xHMCS1g3sSW.jpg">
                            <div class="mv-mask"></div>
                            <img src="demo/imgs/cover_play.png" class="mv-play">
                        </div>
                        <div class="mv-info">
                            <p>圭贤《Coffee》MV</p>
                            <span>圭贤</span><br>
                            <span><img src="demo/imgs/icon_listen.png" alt="播放量"> 1.5万</span>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </main>
    
    <!-- 底部 -->
    <footer>
        <!-- 底部内容 -->
    </footer>
</body>
</html>